﻿using Games.Basic;
using Games.Common;
using Xamarin.Forms;

namespace Games.Klotski
{
    class GameInfo : BaseViewModel, IGameInfo
    {
        public string Name => "八宝盒";
        public string Desc => "八宝盒是一款自我挑战的休闲益智游戏，又被称作“移木块”。" +
            "\r\n将深色方块通过右上角的缺口移出完成任务，方块只能沿长边方向移动。";
        public string Version => "1.0";
        public string ID => "53E60084-8E0A-43F7-9966-01AD62CDA6F0";
        public string BuildDate => "20200630";
        public ContentPage NewPage() => PageHolder.Get(() => new GamePage(this));

        int level = 0;
        public int Level
        {
            get { return level; }
            set { SetProperty(ref level, value); }
        }

        int stepCount = 0;
        public int StepCount
        {
            get { return stepCount; }
            set { SetProperty(ref stepCount, value); }
        }
    }
}
